currentItem=nil

function getFirstRowCount()
  local info = C_AuctionHouse.GetCommoditySearchResultInfo(currentItem.itemID,1)
  --info is nil
  return info and info.quantity or 1
end

function startBatBuy()
  print("StartCommoditiesPurchase")
end